package com.java2207.group1.service;


import com.java2207.group1.bo.DinnerBo;
import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.pojo.Dinner;
import com.java2207.group1.vo.Breakfast.BarVo;
import com.java2207.group1.vo.Breakfast.PieVo;

import java.util.List;
import java.util.Map;

public interface DinnerService {

    int addDinner(Dinner dinner);

    int deleteDinner(Integer id);

    int updateDinner(Dinner dinner);

    LayuiPageVo<Dinner> dinnerPageDate(Map<String, Object> params);

    List<BarVo> nameBarData();

    List<PieVo> namePieData();

    List<DinnerBo> diannerExcelData(Map<String, Object> params);
}
